from race.Player import *
import logging.config
from threadJob import *
from pynput.mouse import Controller as mController
from pynput.keyboard import Controller as kController
from pynput.keyboard import Key
import functools

logging.config.fileConfig('./util/logging.conf')
log = logging.getLogger("example")

"""
    子类描述：
        1、原地跳防止掉线
"""


class JumpStopOffline(Player):
    def a(self):
        for i in range(1, 888888):
            log.debug('★TankMonk鼠标r，【月饼节】需要开始执行的内容★')
            sleep(0.3)
            self.click(self.kb, Key.space, 1)
            sleep(3)
        return
